<div id="viewsMenu">
	<ul>
		<cfset variables.validViews = attributes.KalendarRequest.getKalendarConfig().getValidViewList() />
		<cfset variables.validViewAliases = attributes.KalendarRequest.getKalendarConfig().getValidViewListAliases() />
		<cfloop from="1" to="#listLen(variables.validViews)#" index="i">
			<cfif Attributes.view is not listGetAt(variables.validViews, i)>
				<cfoutput><li id="view-#listGetAt(variables.validViewAliases, i)#"><a href="#cgi.script_name#?LinkDate=#attributes.KalendarRequest.getLinkDate()#&categoryID=#attributes.KalendarRequest.getCategoryID()#&view=#listGetAt(variables.validViews, i)#">#listGetAt(variables.validViewAliases, i)#</a></li></cfoutput>
			<cfelse>
				<cfoutput><li id="view-#listGetAt(variables.validViewAliases, i)#" class="selected">#listGetAt(variables.validViewAliases, i)#</li></cfoutput>
			</cfif>
		</cfloop>
	</ul>
</div>